package com.example.hehecat.yuejian1.mvp.contract;

import com.example.hehecat.yuejian1.mvp.model.bean.ActivityBean;
import com.example.hehecat.yuejian1.mvp.model.bean.ReplyBean;
import com.example.hehecat.yuejian1.mvp.model.bean.SuccessBean;

import java.util.List;

import rx.Subscriber;

public interface ActivityReplyContract {
    interface Model {
        void getAllReplyData(int activity_id,Subscriber<List<ReplyBean>> subscriber);
        void replyActivity(int activity_id,int user_id,String comment,Subscriber<SuccessBean> subscriber);
    }

    interface View {
        void updateAdapterData(List<ReplyBean> data);
    }

    interface Presenter {
        void updateAdapterData(int activity_id);
    }
}
